﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 收款子表AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CashierGatherAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CashierGatherAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					GatherMny=0m; 
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.LoanPayingAITDTO != null) 
			{
				this.LoanPayingAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.SettleMode != null) 
			{
				this.SettleMode.DoSerializeKeyList(dict);
			}
	        	        			if (this.GatherBankAccount != null) 
			{
				this.GatherBankAccount.DoSerializeKeyList(dict);
			}
	        			if (this.CashAccount != null) 
			{
				this.CashAccount.DoSerializeKeyList(dict);
			}
	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.GatherBankSubAccount != null) 
			{
				this.GatherBankSubAccount.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.IncExpItem != null) 
			{
				this.IncExpItem.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CashierGatherAITDTOData(  ufida.u9.ait.openapi.LoanPayingAITDTOData loanPayingAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData settleMode  , System.Decimal gatherMny  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData gatherBankAccount  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData cashAccount  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData gatherBankSubAccount  , System.String noteNo  , System.String returnDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData incExpItem  )
		{
			initData();
			this.LoanPayingAITDTO = loanPayingAITDTO;
			this.SettleMode = settleMode;
			this.GatherMny = gatherMny;
			this.GatherBankAccount = gatherBankAccount;
			this.CashAccount = cashAccount;
			this.DescFlexField = descFlexField;
			this.GatherBankSubAccount = gatherBankSubAccount;
			this.NoteNo = noteNo;
			this.ReturnDate = returnDate;
			this.IncExpItem = incExpItem;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 还款单AITDTO
		/// 收款子表AITDTO.Misc.还款单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.LoanPayingAITDTOData m_loanPayingAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.LoanPayingAITDTOData LoanPayingAITDTO
		{
			get	
			{	
				return m_loanPayingAITDTO ;
			}
			set	
			{	
				m_loanPayingAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 结算方式
		/// 收款子表AITDTO.Misc.结算方式
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_settleMode ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData SettleMode
		{
			get	
			{	
				return m_settleMode ;
			}
			set	
			{	
				m_settleMode = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款金额
		/// 收款子表AITDTO.Misc.收款金额
		/// </summary>
		private System.Decimal m_gatherMny ;
		[DataMember(IsRequired=false)]
		public System.Decimal GatherMny
		{
			get	
			{	
				return m_gatherMny ;
			}
			set	
			{	
				m_gatherMny = value ;	
			}
		}
			
		

		/// <summary>
		/// 银行账号
		/// 收款子表AITDTO.Misc.银行账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_gatherBankAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData GatherBankAccount
		{
			get	
			{	
				return m_gatherBankAccount ;
			}
			set	
			{	
				m_gatherBankAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 现金账号
		/// 收款子表AITDTO.Misc.现金账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_cashAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CashAccount
		{
			get	
			{	
				return m_cashAccount ;
			}
			set	
			{	
				m_cashAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// 收款子表AITDTO.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 收款子账号
		/// 收款子表AITDTO.Misc.收款子账号
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_gatherBankSubAccount ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData GatherBankSubAccount
		{
			get	
			{	
				return m_gatherBankSubAccount ;
			}
			set	
			{	
				m_gatherBankSubAccount = value ;	
			}
		}
			
		

		/// <summary>
		/// 票据号
		/// 收款子表AITDTO.Misc.票据号
		/// </summary>
		private System.String m_noteNo ;
		[DataMember(IsRequired=false)]
		public System.String NoteNo
		{
			get	
			{	
				return m_noteNo ;
			}
			set	
			{	
				m_noteNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 回单日期
		/// 收款子表AITDTO.Misc.回单日期
		/// </summary>
		private System.String m_returnDate ;
		[DataMember(IsRequired=false)]
		public System.String ReturnDate
		{
			get	
			{	
				return m_returnDate ;
			}
			set	
			{	
				m_returnDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 收支项目
		/// 收款子表AITDTO.Misc.收支项目
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_incExpItem ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IncExpItem
		{
			get	
			{	
				return m_incExpItem ;
			}
			set	
			{	
				m_incExpItem = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																				
		#endregion 
	} 	
}
